KTUGFaq
KTUG FAQ
FrontPage › \iftrue
- Conditionals . . . . 8 matches
=== \newif, \iftrue, \iffalse ===
\def\footrue{\let\iffoo=\iftrue}
<iftrue_commands>
\@ifXXX{condition}{iftrue_execution}{iffalse_execution}
=== LaTeXÀÇ `\newif, \iffalse, \iftrue` »ç¿ë ===
\@if#1\iftrue
`\boolean{xyz}` ¸í·ÉÀº TeXÀÇ ¿ø½Ã `\if`¹®¿¡ ÀÇÇØ Á¤ÀÇµÈ `\ifxyz`°¡ `\iftrue`ÀÏ ¶§ Âü(true) °ªÀ» µÇµ¹·ÁÁØ´Ù.
`xyz`´Â `\newboolean` ¶Ç´Â `\provideboolean`¿¡ ÀÇÇÏ¿© Á¤ÀÇµÉ ¼ö ÀÖ´Ù. ±×¸®°í, TeXÀÇ `\newif`¿¡ ÀÇÇÏ¿© Á¤ÀÇµÈ ÅäÅ«¿¡ ´ëÇؼµµ ¾µ ¼ö ÀÖ´Ù. ¿¹¸¦ µé¸é, `\boolean{true}`´Â `\iftrue`¸¦ °¡¸®Å°´Â °ÍÀÌ´Ù. ¶Ç, `\boolean{mmode}`´Â `\ifmmode`¿Í °°´Ù. - LaTeXÀ»Àß»ç¿ëÇϱâÀ§ÇÑÇʵ¶¼ . . . . 1 match
\loop\iftrue - LittleTree/ReadingTeXbook/2006-08 . . . . 1 match
\def\@if#1{true}{\let#1=\iftrue}% - PrimitiveControlSequences . . . . 1 match
*[[\iftrue]]